/** 全局样式 */
// 如果需要覆盖更多样式变量请查看文档
$--ele-font-path: "~ele-admin/packages/style/fonts";
// 如果不需要切换主题使用这个
//@import "~ele-admin/packages/style/themes/default.scss";
// 如果不需要切换主题固定为夜间主题使用这个
//@import "~ele-admin/packages/style/themes/dark.scss";
// 需要在线切换主题使用这个
@import "~ele-admin/packages/style/themes/dynamic.scss";

/* 异常页面 */
.ele-exception {
  margin: 145px 0;

  .ele-exception-img,
  .ele-exception-content {
    margin: 15px 30px;
    display: inline-block;
    vertical-align: middle;

    img {
      filter: $--content-image-filter;
    }
  }

  .ele-exception-content > h1 {
    font-size: 72px;
    font-weight: 600;
    margin: 0 0 20px 0;
  }

  .ele-exception-content > p {
    font-size: 20px;
    margin: 0 0 25px 0;
  }
}

@media screen and (max-width: 768px) {
  .ele-exception {
    margin: 40px 0;

    .ele-exception-img {
      margin: 0;

      img {
        max-height: 200px;
        max-width: 100%;
      }
    }

    .ele-exception-content {
      text-align: center;
    }
  }
}

[ele-resizable].el-dialog__wrapper > .el-dialog > .el-dialog__header {
  flex-shrink: 0;
}

.ele-admin-sidebar .ele-admin-sidebar-menus > .el-menu {
  overflow: hidden;
}
.el-footer {
  padding: 0 0px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.el-header {
  padding: 0 0px;
  box-sizing: border-box;
  flex-shrink: 0;
}
#app,html,body,.el-container{
  height: 100%;
}

.el-main {
  display: block;
  flex: 1;
  flex-basis: auto;
  overflow: auto;
  box-sizing: border-box;
  padding: 0px;
  overflow-y: scroll;
}

.ele-body {
  padding: 1px;
}
//table选中行高亮颜色
.el-table__body tr.current-row>td {
  background: #91d5ff !important;
}
//table底部page高度样式
.el-table + .el-pagination {
  margin-top: 2px;
}

.el-table--mini th, .el-table--mini td {
  padding: 2px 0;
}
.el-input--medium .el-input__inner {
  height: 30px;
  line-height: 30px;
}
.ele-form-search .ele-form-actions {
  padding-left: 5px;
  margin-top: 0px;
  margin-bottom: 5px;
}
.el-form-item__label {
  text-align: right;
  vertical-align: middle;
  float: left;
  font-size: 9pt;
  font-family: "Microsoft YaHei";
  color: var(--color-text-regular);
  line-height: 40px;
  padding: 0 12px 0 0;
  box-sizing: border-box;
}
.el-table .cell {
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
  line-height: 23px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 9pt;
  font-family: "Microsoft YaHei";
}
.el-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  position: relative;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  font-size: 9pt;
  font-family: "Microsoft YaHei";
  font-weight: 500;
}
.el-input__inner {
  -webkit-appearance: none;
  background-color: var(--input-background-color);
  background-image: none;
  border-radius: 4px;
  border: 1px solid var(--border-color-base);
  box-sizing: border-box;
  color: var(--color-text-regular);
  display: inline-block;
  font-size: inherit;
  height: 40px;
  line-height: 40px;
  outline: none;
  padding: 0 5px;
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}
